@import "~@/assets/scss/mixin.scss";

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
}

.userInfos {
  display: flex;
  align-content: center;
}

.userImage {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
}

.infoBox {
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.info {
  max-width: 450px;
  height: 30px;
  line-height: 30px;
  color: rgba(#fff, 0.8);
  font-size: 20px;
  font-weight: 400;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;

  &.isBig {
    color: #fff;
    font-size: 24px;
    font-weight: 500;
  }
}

.title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  height: 40px;
  color: #fff;
  font-size: 26px;
  font-weight: 500;

  &::before, &::after {
    content: '';
    display: block;
    flex: 1;
    width: 0;
    height: 1px;
    background: #fff;
    transform: scaleY(0.5);
  }

  &::before {
    margin-right: 40px;
  }

  &::after {
    margin-left: 40px;
  }
}

.list {
  margin-top: 20px;
  display: flex;
}

.listItem {
  margin-left: 40px;
  width: 240px;

  @include clear;

  &:first-child {
    margin-left: 0;
  }
}

.coverImage {
  position: relative;
  border-radius: 16px;
  overflow: hidden;

  &::before {
    content: '';
    display: block;
    padding-bottom: (202 / 334 * 100%);
  }

  &:hover {
    .coverImageInner {
      transform: scale(1.1);
    }
  }
}

.coverImageInner {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.1s ease-out;
}

.playStatus {
  position: absolute;
  left: 16px;
  top: 10px;
  width: 80px;
}

.recommendIcon {
  position: absolute;
  right: 0;
  top: 10px;
  width: 70px;
}

.listTitle {
  margin-top: 10px;
  height: 40px;
  line-height: 40px;
  font-size: 22px;
  color: #fff;
  font-weight: 500;

  @include ellipsis;
}
